package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface UserMapper {

    List<User> findAll() throws Exception;

    User findByCondition(User user) throws Exception;

    int save(User user);

    int updateById(User user);

    int deleteById(String id);
}